home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beginning Mac Programming
/
Beginning Mac Programming.bin
/
Open Me for REALbasic 3
/
REALbasic 3.2
/
Example Projects
/
Techniques
/
Example by Cortis Clark
/
Make your code faster!
/
Mandelbrot in C
/
Mandelbrot.h
< prev
next >
Wrap
Text File
|
2000-04-07
|
451b
|
20 lines
typedef struct {
double x, y;
} complex;
complex complexSquare (complex c);
int iterate (complex zInit);
//void mandelbrot (int cols, int rows, double rMin, double rMax,
// double iMin, double iMax);
void mandelbrot (int cols, int rows, float rMin, float rMax,
float iMin, float iMax);
const int kUpperLeft = 50;
const int kMaxScreenX = 400, kMaxScreenY = 400;
#define MAX 256